﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;

namespace CPPEI.Extensions
{
    public static class AssemblyExtension
    {
        /// <summary>
        /// 从程序集全名中获取名称
        /// </summary>
        /// <param name="assemblyNameString"></param>
        /// <returns></returns>
        public static string GetAssemblyName(string assemblyNameString)
        {
            AssemblyName assemblyName = new AssemblyName(assemblyNameString);
            return assemblyName.Name;
        }
    }
}
